package org.springblade.modules.admin.entity.excel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户离职救援 Excel 实体类
 * @author: Sharry
 * @createTime: 2023/3/13 16:19
 * @version: Version-1.0
 */
@Data
public class UserLeaveRescueExcel implements Serializable {

	@ColumnWidth(15)
	@ExcelProperty("任务编号")
	@ApiModelProperty("任务编号")
	private Long id;

	@ColumnWidth(15)
	@ExcelProperty("项目名称")
	@ApiModelProperty("项目名称")
	private String buildingName;

	@ColumnWidth(15)
	@ExcelProperty("电梯位置")
	@ApiModelProperty("电梯位置")
	private String elevatorAddress;

	@ColumnWidth(15)
	@ExcelProperty("救援人员")
	@ApiModelProperty("维保员名称+电话")
	private String maintainName;

	@ColumnWidth(15)
	@ExcelProperty("维保组")
	@ApiModelProperty("组名称")
	private String groupName;

	@ColumnWidth(15)
	@ExcelProperty("报警人名+电话")
	@ApiModelProperty("报警人(待救人员)")
	private String rescueName;

	@ColumnWidth(15)
	@ExcelProperty("报警类型")
	@ApiModelProperty("救援类型名称")
	private String rescueTypeName;

	@ColumnWidth(15)
	@ExcelProperty("报警来源")
	@ApiModelProperty("救援来源")
	private String rescueSourceName;

	@ColumnWidth(20)
	@ExcelProperty("报警时间")
	@ApiModelProperty("创建时间")
	private Date createTime;

	@ColumnWidth(15)
	@ExcelProperty("救援完成时间")
	@ApiModelProperty("结束时间")
	private Date planEndTime;

	@ColumnWidth(15)
	@ExcelProperty("耗时")
	@ApiModelProperty("耗时(秒)")
	private Long useMinute;

	@ColumnWidth(15)
	@ExcelProperty("报警描述")
	@ApiModelProperty("救援描述")
	private String rescueDesc;

	@ColumnWidth(15)
	@ExcelProperty("救援状态")
	@ApiModelProperty("救援状态")
	private String statusName;

	@ColumnWidth(15)
	@ExcelProperty("任务指派")
	@ApiModelProperty("任务是否被指派")
	private String isSent;

	@ExcelIgnore
	@ApiModelProperty("0:未指派，1:已指派")
	private Integer isHasUser = 0;

	@ExcelIgnore
	@ApiModelProperty("耗时文案时分秒")
	private String wordSecondsDesc;

	@ExcelIgnore
	@ApiModelProperty("报警人号码(待救人员)")
	private String rescuePhone;

	@ExcelIgnore
	@ApiModelProperty("救援类型")
	private Integer rescueType;

	@ExcelIgnore
	@ApiModelProperty("救援状态")
	private Integer status;

	@ExcelIgnore
	@ApiModelProperty("救援来源")
	private String rescueSource;
}
